﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class IronNPC : NPC
    {
        private string hqq;
        public string Hqq
        {
            get { return this.hqq; }
            set { this.hqq = value; }
        }
        public IronNPC() { }
        public IronNPC(string name, Npctype type, string hqq) : base(name, type)
        {
            this.hqq = hqq;

        }

        public override void Speak()
        {
            Console.WriteLine();
        }
        public void xb(string task)
        {
            Console.WriteLine($"我是修补NPC，给你一个任务：{task}");

        }
        public void qh(string task)
        {
            Console.WriteLine($"我是强化NPC，给你一个任务：{task}");

        }
        public void dz(string task)
        {
            Console.WriteLine($"我是打造NPC，给你一个任务：{task}");

        }


    }
  }

